package com.uduew.sjd.api;

import static com.uduew.sjd.config.Const.IDENTIFICATION_OF_DOCUMENTS;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.RequestBodyType;


public class CertificateApi implements IRequestApi, IRequestType {

    private ReqCertificateBean overripe;

    public CertificateApi(String communicatory, String inefficiently) {
        overripe = new ReqCertificateBean(communicatory, inefficiently);
    }

    @NonNull
    @Override
    public String getApi() {
        return IDENTIFICATION_OF_DOCUMENTS;
    }

    /**
     * 获取参数的提交类型
     */
    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }


    public static final class ResCertificateBean {
        @Override
        public String toString() {
            return "ResCertificateBean{" +
                    "reflexive='" + reflexive + '\'' +
                    ", attitudinize='" + attitudinize + '\'' +
                    ", fattish='" + fattish + '\'' +
                    ", landsick=" + landsick +
                    ", sicative='" + sicative + '\'' +
                    ", rapturous='" + rapturous + '\'' +
                    ", clypeiform='" + clypeiform + '\'' +
                    ", quite='" + quite + '\'' +
                    ", wolverene='" + wolverene + '\'' +
                    ", slidden='" + slidden + '\'' +
                    ", sacrality='" + sacrality + '\'' +
                    '}';
        }

        private String reflexive;
        private String attitudinize;
        private String fattish;
        private LandsickBean landsick;
        private String sicative;
        private String rapturous;
        private String clypeiform;
        private String quite;
        private String wolverene;
        private String slidden;
        private String sacrality;

        public String getReflexive() {
            return reflexive;
        }

        public String getAttitudinize() {
            return attitudinize;
        }

        public void setReflexive(String reflexive) {
            this.reflexive = reflexive;
        }

        public String getFattish() {
            return fattish;
        }

        public void setAttitudinize(String attitudinize) {
            this.attitudinize = attitudinize;
        }

        public void setFattish(String fattish) {
            this.fattish = fattish;
        }

        public LandsickBean getLandsick() {
            return landsick;
        }

        public String getSicative() {
            return sicative;
        }

        public void setSicative(String sicative) {
            this.sicative = sicative;
        }

        public void setRapturous(String rapturous) {
            this.rapturous = rapturous;
        }

        public void setClypeiform(String clypeiform) {
            this.clypeiform = clypeiform;
        }

        public String getRapturous() {
            return rapturous;
        }

        public String getClypeiform() {
            return clypeiform;
        }

        public String getQuite() {
            return quite;
        }

        public String getWolverene() {
            return wolverene;
        }

        public String getSlidden() {
            return slidden;
        }

        public String getSacrality() {
            return sacrality;
        }
    }

    public static final class LandsickBean {
        private String nabulus;
        private String coagula;
        private String inadequate;

        public String getNabulus() {
            return nabulus;
        }

        public String getCoagula() {
            return coagula;
        }

        public String getInadequate() {
            return inadequate;
        }
    }

    public static final class ReqCertificateBean {
        private String communicatory;
        private String inefficiently;

        public ReqCertificateBean(String communicatory, String inefficiently) {
            this.communicatory = communicatory;
            this.inefficiently = inefficiently;
        }
    }


}
